package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
*
*
* @author quan
* @date 2021-10-28 14:08
*/
 

@Data
@TableName(value = "t_system_pre_pay")
@Accessors(chain = true)
public class TSystemPrePay {
    /**
     * 交易流水
     */
    @TableId(value = "transaction_id", type = IdType.AUTO)
    private Long transactionId;

    /**
     * 会员id
     */
    @TableField(value = "m_id")
    private Long mId;

    /**
     * 交易订单号
     */

    @TableField(value = "trade_no")
    private Long tradNo;

    /**
     * 预支付id
     */
    @TableField(value = "pre_id")
    private Long preId;

    /**
     * 0未支付 1已支付
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 支付金额
     */
    @TableField(value = "money")
    private BigDecimal money;

    @TableField(value = "add_time")
    private Date addTime;
}